package com.zhen.aikan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author LiJiaZhen
 * @date 2023/9/25 10:20
 */
@Data
@TableName("tb_favourite")
public class Favourite {
    @ApiModelProperty("主键")
    @TableId("id")
    private long id;
    @ApiModelProperty("影片id")
    private long vodId;
    @ApiModelProperty("用户账号")
    private String userId;
    @ApiModelProperty("收藏时间")
    private LocalDateTime favouriteTime;
}
